


FILE( GLOB _SOURCES *.cpp *.h )
FILE( GLOB _SOURCESCVC ${CMAKE_SOURCE_DIR}/../../cvclibs/cvctracker/*.cpp ${CMAKE_SOURCE_DIR}/../../cvclibs/cvctracker/*.h )


FILE( TO_CMAKE_PATH "$ENV{OPENCV24_DIR}" OPENCV24_DIR )

link_directories (${CMAKE_SOURCE_DIR}/dependencies/freeglut/lib 
				  ${CMAKE_SOURCE_DIR}/dependencies/glew/lib/x86
				  ${OPENCV24_DIR}/lib)

INCLUDE_DIRECTORIES(
	${CMAKE_SOURCE_DIR}/dependencies/freeglut/include
	${CMAKE_SOURCE_DIR}/dependencies/glew/include
	${CMAKE_SOURCE_DIR}/dependencies/
    ${CMAKE_SOURCE_DIR}/../../cvclibs/
	${OPENCV24_DIR}/include/	
)

ADD_EXECUTABLE( vrCVCTestGL3 ${_SOURCES}  ${_SOURCESCVC})

TARGET_LINK_LIBRARIES( vrCVCTestGL3	
	optimized freeglut_static.lib debug freeglutd_static.lib
	opengl32.lib
	glew32.lib
	optimized zlib.lib debug zlibd.lib
	optimized opencv_core249.lib debug opencv_core249d.lib
	optimized opencv_highgui249.lib debug opencv_highgui249d.lib
	optimized opencv_features2d249.lib debug opencv_features2d249d.lib
	optimized opencv_nonfree249.lib debug opencv_nonfree249d.lib
	optimized opencv_calib3d249.lib debug opencv_calib3d249d.lib
	optimized opencv_video249.lib debug opencv_video249d.lib
	optimized opencv_imgproc249.lib debug opencv_imgproc249d.lib	
)


SET_TARGET_PROPERTIES( vrCVCTestGL3 PROPERTIES DEBUG_POSTFIX d )
